package com.ellwood.copyright.infrastructure.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ellwood.copyright.common.core.base.EntityFactory;
import lombok.*;

import java.io.Serial;
import java.util.Date;

/**
 * @ProjectName: ell-copyright-pro
 * @PackageName: com.ellwood.copyright.infrastructure.entity.system
 * @ClassName: SysUserEntity
 * @Description: // 用户实体
 * @Author: Ellwood
 * @CreateDate: 2024/11/18 - 15:09
 * @Version: V1.0.0
 */
@EqualsAndHashCode(callSuper = false)
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("sys_user")
public class SysUserEntity extends EntityFactory {

    @Serial
    private static final long serialVersionUID = 9176851343612261596L;

    /** 用户id */
    @TableId(type = IdType.AUTO)
    private Long userId ;

    /** 账号 */
    private String account ;

    /** 密码 */
    private String password ;

    /** 真实姓名 */
    private String nickName ;

    /** 年龄 */
    private Integer age ;

    /** 性别：0：男 1：女 */
    private Integer gender ;

    /** 头像 */
    private String avatar ;

    /** 邮箱 */
    private String email ;

    /** 手机号 */
    private String phone ;

    /** 生日 */
    private Date birthday ;

    /** 工资 */
    private Double isMoney ;

    /** 备注 */
    private String isRemark ;

}





